package com.naiterui.ehp.bs.cms.modules.recommend.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "处方列表")
@Data
public class MedicationRecomVO implements java.io.Serializable {


    private static final long serialVersionUID = 8544411228911723758L;

    /**
     * 审核状态-待审核
     */
    public static final int AUDIT_STATUS_PENDING = 0;
    /**
     * 审核状态-通过
     */
    public static final int AUDIT_STATUS_PASS = 1;
    /**
     * 审核状态-不通过
     */
    public static final int AUDIT_STATUS_REJECT = 2;

    /**
     * 初审审核状态-待审核
     */
    public static final int PRE_AUDIT_STATUS_PENDING = 0;
    /**
     * 初审审核状态-通过
     */
    public static final int PRE_AUDIT_STATUS_PASS = 1;
    /**
     * 初审审核状态-不通过
     */
    public static final int PRE_AUDIT_STATUS_REJECT = 2;

    /**
     * 主键
     */
    @ApiModelProperty(value = "记录ID")
    private Long id;

    /**
     * 处方ID
     */
    @ApiModelProperty(value = "处方ID")
    private Long recomId;

    /**
     * 处方编号
     */
    @ApiModelProperty(value = "处方编号")
    private String serialNumber;

    /**
     * 医生ID
     */
    @ApiModelProperty(value = "医生ID")
    private Long doctorId;

    /**
     * 医生姓名
     */
    @ApiModelProperty(value = "医生姓名")
    private String doctorName;

    /**
     * 医生手机号
     */
    @ApiModelProperty(value = "医生手机")
    private String doctorPhone;

    /**
     * 患者ID
     */
    @ApiModelProperty(value = "患者ID")
    private Long patientId;

    /**
     * 患者姓名
     */
    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    /**
     * 患者手机号
     */
    @ApiModelProperty(value = "患者手机")
    private String patientPhone;

    @ApiModelProperty(value = "预审状态(0:待审核,1:通过,2:不通过)")
    private Integer preAuditStatus;

    @ApiModelProperty(value = "初审时间")
    private Date preAuditTime;

    /**
     * 审核状态(0:待审核,1:通过,2:不通过)
     */
    @ApiModelProperty(value = "审核状态(0:待审核,1:通过,2:不通过,3超时未审核)")
    private Integer status;

    /**
     * 审核类型(1:系统,2:人工)
     */
    @ApiModelProperty(value = "审核类型(1:系统,2:人工)")
    private Integer auditType;

    /**
     * 处方失效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "处方失效时间")
    private Date expireAt;

    /**
     * 创建时
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 修改时间(审核时间)
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间(审核时间)")
    private Date changedAt;

    /**
     * 修改人(审核人)
     */
    @ApiModelProperty(value = "修改人(审核人)")
    private String changedBy;

    @ApiModelProperty(value = "初审药师")
    private String prePharmacistName;

    @ApiModelProperty(value = "审核药师")
    private String pharmacistName;

    @ApiModelProperty(value = "审核药师Id")
    private Long pharmacistId;

}
